public class demo2 {
    public static void main(String[] args) {
        int[] arry = {33,53,47,65,12,94,20,11};
        int max = arry[0];
        for (int i = 0; i < arry.length; i++) {
            if (arry[i] > max) {
                max = arry[i];
            }
        }
        System.out.println(max);
    }
}
